package com.xinruke.hostels.manage.user.interfaces.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author GuoZheng
 * @ClassName RoleDetailResultDTO
 * @date：2019/6/17
 * @version: V1.0.0
 * @description：角色详情结果DTO
 */
@Data
@ApiModel("角色详情结果DTO")
public class RoleDetailResultDTO {

    private Integer id;
    @ApiModelProperty("名称")
    private String mingcheng;

    @ApiModelProperty("描述")
    private String miaoshu;

    /**
     * 1可用，0不可用
     */
    @ApiModelProperty("启用状态，1可用，0不可用")
    private Integer qiyongzhuangtai;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijian;

    @ApiModelProperty("创建人ID")
    private Integer chuangjianrenId;

    @ApiModelProperty("创建人名称")
    private String chuangjianrenMingCheng;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gengxinshijian;

    @ApiModelProperty("更新人名称")
    private String gengxinrenMingCheng;

    @ApiModelProperty("更新人ID")
    private Integer gengxinrenId;
    @ApiModelProperty("所属系统Id")
    private Integer suoshuxitong;

    @ApiModelProperty("所属系统名称")
    private String suoshuxitongMingCheng;

    @ApiModelProperty("删除标识")
    private Integer shanchubiaoshi;
}
